﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RiceInfoDetailPage.aspx.cs" Inherits="MAA.Presentation.PRL.News.RiceInfoDetailPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/RiceInfoDetail.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="rice">
        <br />
        <asp:Label Style="margin-left: 5%; font-size: xx-large;" runat="server" ID="lblTypeName"></asp:Label><br />
        <label style="margin-left: 80%;">
            <asp:Label ID="langBy" runat="server" Text="<%$Resources:language, langBy%>"></asp:Label>:
        </label>
        <asp:Label runat="server" ID="lblPosterName"></asp:Label><br />
        <br />
        <asp:Image Style="margin-bottom: 20px; height: 170px; margin-left:6%;" runat="server" ID="impPicture" /><br />
        <li>
            <div class="infoRice">
                <asp:Label ID="langOrigin" runat="server" Text="<%$Resources:language, langOrigin%>" Font-Bold="True" Font-Size="Larger"></asp:Label>:
            </div>
            <div class="enterRice">
            <asp:Label runat="server" ID="lblOrigin"></asp:Label><br />
            </div>
        </li>
        <li >
            <div class="infoRice">
                <asp:Label ID="langDescription" runat="server" Text="<%$Resources:language, langDescription%>" Font-Size="Larger" Font-Bold="True"></asp:Label>:
            </div>
            <div class="enterRice">
            <asp:Label runat="server" ID="lblDescription"></asp:Label>
            </div>
        </li>
    </div>
    <div class="more_rice">
        <asp:Repeater ID="tblRiceInfo" runat="server" onitemdatabound="tblRiceInfo_ItemDataBound">
            <ItemTemplate>
                <div class="mainTable_rice">
                    <h2 class="riceType">
                        <a href="RiceInfoDetailPage.aspx?riceID=<%# Eval("ID") %>">
                            <%# Eval("TypeName")%></a>
                    </h2>
                    <br />
                    <div class="content_left_news">
                        <img class="picture_rice" src="<%# Eval("Image") %>" alt="">
                    </div>
                    <div class="origin_rice">
                       <asp:Label ID="langOrigin" runat="server" Text="<%$Resources:language, langOrigin%>" Font-Size="Larger" Font-Bold="True"></asp:Label>: <%# Eval("Origin") %>
                    </div>
                    <div class="description_rice">
                        <asp:Label ID="langDes" runat="server" Text="<%$Resources:language, langDescription%>" Font-Bold="True" Font-Size="Larger"></asp:Label>: <%# Eval("BriefDescription")%>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
